<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<style type="text/css">
		.container .row ul li .link{
			padding: 0px;
			margin: 0px;
			display: inline;
			color: #fff;
		}
		.container .row ul li .link:hover{
			text-decoration: underline;
			color: #fff;
			background-color: #0068CD;
		}
	</style>
</head>
<body class="body">
	<%--top --%>
	<%@include file="include/top.jsp" %>
	
	
	<div class="container">
	  <div class="row">
		<div class="span3">
			<%--left --%>
			<%@ include file="include/left.jsp" %>
		</div>
		<div class="span9">
			
			

			
			<ul class="nav nav-pills nav-stacked" style="background-color:#0068CD;margin:0px;padding:5px 0px;border-radius:10px 10px 0px 0px;font-size:14px;">
			  <li class="nav-header" style="font-size:14px;float:left"><a href="javascript:;" class="link"><i class="icon-th"></i>文件列表</a></li>
			  <li style="float:right;padding:0px 20px 0px 0px"><a href="newFileType.jspx" class="link link-black"><i class="icon-plus"></i>创建文件夹</a></li>
			</ul>

			<!-- <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px;font-size:14px;">
				<li class="active">
					<a href="task.html"><i class="icon-th"></i>文件列表</a>
				</li>
				<li class="pull-right"><i class="icon-plus"></i><a href="edit_goal.html" class="link-black">创建文件夹</a></li>
			</ul> -->
			<div class="wall">
				<table class="table table-striped">
					<thead>
						<tr>
							<th width="30px">&nbsp;</th>
							<th width="60%">名称</th>
							<th width="20%">大小</th>
							<th>创建人</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${requestScope.fileTypeList}" var="fileType">
							<tr>
								<td>
									<img src="img/folder.png"/>
								</td>
								<td><a href="intoFileType.jspx?id=${fileType.id}">${fileType.name}</a></td>
								<td>${fileType.num}files at 
									<c:choose>
										<c:when test="${fileType.size==0}">
											不足1MB
										</c:when>
										<c:otherwise>
											${fileType.size}MB
										</c:otherwise>
									</c:choose>
									<%-- ${fileType.size}MB --%>
								</td>
								<td>${fileType.employeeName}</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
				<%--返回 --%>
				<div>
	              <a class="btn pull-right" style="margin:0px 20px 0px 0px" href="main.jspx" type="button" id="back">返回</a>
	              <div style="clear:both"></div>
	            </div>
			</div>
			
			
		</div>
	  </div>
	</div>
</body>
</html>